package jk.framework.canary.core.rule;

import jk.framework.canary.core.po.RouteContext;

/**
 * @author cuichao
 * 规则执行链
 */
public interface RouteRuleChain<T> {

    /**
     * 是否同意通过路由
     * @param context
     * @return
     */
    boolean isAllow(RouteContext<T> context);

}
